<?php
namespace app\admin\controller;

use think\Controller;
use think\Db;
use  think\Session;
class Picture extends Controller
{
    public function  plist(){
        $cid= Session::get("clubid");
        $result=Db::query("select*from club_follow c,picture p where c.userid = p.userid and c.clubid='$cid' order by p.pictureid desc");
        $this->assign("plist",$result);
        return $this->fetch();
    }

}